package com.qk.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.dto.business.BusinessDTO;
import com.qk.dto.business.BusinessFollowDTO;
import com.qk.dto.business.BusinessInsertDTO;
import com.qk.dto.business.BusinessPoolDTO;
import com.qk.entity.Business;
import com.qk.vo.business.BusinessByIdVO;
import com.qk.vo.business.BusinessVO;

/**
 * @author 上官徵羽
 * @version 1.0
 * @since 2025-10-19 9:35
 */
public interface BusinessService extends IService<Business> {

    PageResult<BusinessVO> listPage(BusinessDTO businessDTO);

    Object saveBusiness(BusinessInsertDTO businessInsertDTO);

    void allocationBusiness(Integer businessId, Integer userId);

    void outBusiness(Integer businessId);

    void toCustomer(Integer id);

    BusinessByIdVO getBusinessById(Integer id);

    void businessFollow(BusinessFollowDTO businessFollowDTO);

    PageResult<Business> businessPool(BusinessPoolDTO businessPoolDTO);
}
